import java.io.*;

public class Dome2 {
    public static void main(String[] args) throws IOException {
        //创建文件
        File f = new File("./testInput.txt");
        f.createNewFile();
        InputStream inputStream = new FileInputStream("./testInput.txt");
        while (true) {
            int b = inputStream.read();
            if(b == -1) {
                break;
            }
            System.out.printf("0x%X ",b);
        }
    }
}
